Error SQL: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%3Cbr%20' at line 1

Query: SELECT r.* FROM doctors as r WHERE r.id = %3Cbr%20

File: /home/dev/www/amurmed.ru/html/core/Db.php Line: 70

Array
(
    [0] => Array
        (
            [file] => /home/dev/www/amurmed.ru/html/classes/Doctors.class
            [line] => 210
            [function] => getBySql
            [class] => DB
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT r.* FROM doctors as r WHERE r.id = %3Cbr%20
                )

        )

    [1] => Array
        (
            [file] => /home/dev/www/amurmed.ru/html/classes/DoctorsController.class
            [line] => 56
            [function] => viewArticle
            [class] => Doctors
            [type] => ->
            [args] => Array
                (
                    [0] => %3Cbr%20
                )

        )

    [2] => Array
        (
            [file] => /home/dev/www/amurmed.ru/html/includes/App.php
            [line] => 143
            [function] => defaultAction
            [class] => DoctorsController
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [user] => 0
                            [url_data] => Array
                                (
                                    [0] => doctors
                                    [1] => 17-kardiolog
                                    [2] => %3Cbr%20
                                    [3] => %3E%3Cb%3ENotice%3C
                                    [4] => b%3E:%20%20Trying%20to%20get%20property%20of%20non-object%20in%20%3Cb%3E
                                    [5] => home
                                    [6] => dev
                                    [7] => www
                                    [8] => amurmed.ru
                                    [9] => html
                                    [10] => templates
                                    [11] => doctor_body.tpl%3C
                                    [12] => b%3E%20on%20line%20%3Cb%3E12%3C
                                    [13] => b%3E%3Cbr%20
                                    [14] => %3E
                                )

                            [get_params] => Array
                                (
                                )

                        )

                )

        )

    [3] => Array
        (
            [file] => /home/dev/www/amurmed.ru/html/index.php
            [line] => 9
            [function] => run
            [class] => App
            [type] => ->
            [args] => Array
                (
                )

        )

)